home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 38
/
Aminet 38 (2000)(Schatztruhe)[!][Aug 2000].iso
/
Aminet
/
docs
/
help
/
arexxbegin.lha
/
ARexx_For_Beginners
/
Articles_01-10
/
Example7-1a.rexx
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
OS/2 REXX Batch file
|
1994-12-14
|
449 b
|
31 lines
/* Example7-1a.rexx */
/* This is Example7-1 rewritten with the use of a Function */
CALL Display
Name1 = Fred Bloggs
Name2 = 'Fred Bloggs'
Value1 = 2.35
Value2 = Value1 + 2.2
CALL Display
Name1 = 2.35
Name2 = Name1 + 2.2
Value1 = Fred Bloggs
Value2 = 'Fred Bloggs'
CALL Display
EXIT
Display:
SAY
SAY 'Name1 is ' Name1
SAY 'Name2 is ' Name2
SAY 'Value1 is ' Value1
SAY 'Value2 is ' Value2
RETURN